<%--
  Created by IntelliJ IDEA.
  User: SYG
  Date: 2018/10/21
  Time: 10:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>SpringMVC获取请求参数</title>
</head>
<body>
    <form action="${pageContext.request.contextPath}/getFormParam.do">
        <table>
            <tr>
                <td>用户注册</td>
                <td><input type="text" name="username"/></td>
            </tr>
            <tr>
                <td>薪水</td>
                <td><input type="text" name="salary"/></td>
            </tr>
            <tr>
                <td colspan="2"><input type="submit" value="注册"/></td>
            </tr>
        </table>
    </form>
</body>
</html>
